#ifndef	__APP_H
#define	__APP_H
#include "Config.h"
#include "RTX51TNY.h"
#include "GPIO.h"
#include "NVIC.h"
#include "UART.h"
#include "Switch.h"
#include "STC8H_PWM.h"

#define task_LED          1
#define task_KEY          2
#define task_ADC          3
#define task_PWM          4
#define task_I2C_Display  5
#define task_SPI_Display  6
#define task_Encoder      7
#define task_UART         8

extern u8 workingModel ;
extern u8 outModel;
extern float Vin;
extern float Vout;
extern float Iout;
extern float unit;

#endif